package com.guoxin.principle.segregation;

/**
 * @author guoxin
 * @date 2019/8/14
 */
public class B implements Interface1,Interface2 {
    @Override
    public void operation1() {
        System.out.println("B 实现了 operation1");
    }

    @Override
    public void operation2() {
        System.out.println("B 实现了 operation2");
    }

    @Override
    public void operation3() {
        System.out.println("B 实现了 operation3");
    }
}
